package com.superdaxue.rxsampledemo.retrofitservice;

import com.superdaxue.rxsampledemo.bean.DataBean;
import com.superdaxue.rxsampledemo.configs.AppConfigs;

import java.util.Map;

import retrofit2.http.FieldMap;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;
import rx.Observable;

/**
 * Created by ZX_CC on 2016/5/24.
 */
public interface RetrofitService {
    @FormUrlEncoded
    @POST(AppConfigs.URL_DATA)
    Observable<DataBean> getDataBean(@FieldMap Map<String,String> map);
}
